#pragma once

#include "Structures.h"

class Entity
{
protected:
	XY pos;
	XY Velocity;
public:
	virtual void Update(float deltaTime){pos += Velocity * deltaTime;
										if(pos.x > SCREEN_WIDTH)	pos.x = 0;
										if(pos.x < 0)				pos.x = SCREEN_WIDTH;
										if(pos.y > SCREEN_HEIGHT)	pos.y = 0;
										if(pos.y < 0)				pos.y = SCREEN_HEIGHT;  ///WOO WRAPPING
										}
};